#include<iostream>
using namespace std;
struct a
{

	bool b1;
	int int1;
	bool b2;
};
struct b
{
	int int1;
	bool b1;
	bool b2;
};
struct c
{

};
bool b1;
int test(char var[])
{
	return sizeof(var);
}
int main()
{
	cout<<sizeof(a)<<" "<<sizeof(b)<<" "<<sizeof(b1)<<endl;
	char var[10]="123456";
	cout<<test(var)<<" "<<sizeof(var)<<endl;

	///
	char *s="0123456789";
	char ss[]="0123456789";
	cout<<sizeof(s)<<" "<<sizeof(*s)<<" "<<sizeof(ss)<<endl;
	cout<<sizeof(c)<<endl;
	getchar();
	return 0;
}